package com.hdhere.core.exception;

public class BizException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    private Object[] args;

    public BizException() {
        super();
    }

    public BizException(String msg) {
        super(msg);
    }

    public BizException(String msg, Object... args) {
        super(msg);
        this.args = args;
    }

    public BizException(String msg, Throwable ex) {
        super(msg, ex);
    }

    public BizException(String msg, Throwable ex, Object... args) {
        super(msg, ex);
        this.args = args;
    }

    public Object[] getArgs() {
        return args;
    }

    public void setArgs(Object[] args) {
        this.args = args;
    }
}
